package com.sumbo.config;

import com.sumbo.config.pipeline.PipelineConfig;
import com.sumbo.config.reader.ReaderFactory;
import com.sumbo.config.writer.WriterFactory;

/**
 * \* User: MeiZhongHao
 * \* Date: 2019-06-06
 * \* Time: 11:59
 * \* Description:
 * \
 */
public class PipelineApplication {

    private static PipelineApplication pipelineApplication;

    public void startup() {
        pipelineApplication = this;
        ReaderFactory.init();
        WriterFactory.init();
        PipelineConfig.init();
    }


    public static void main(String[] args) {
        com.alibaba.dubbo.container.Main.main(args);
    }

}